﻿Public Class ClassConsManager
    Public Shared LINE_NODE_NO_FIELD = 1    '边编号
    Public Shared LINE_BEGIN_NODE_FIELD = 2 '边开始节点
    Public Shared LINE_END_NODE_FIELD = 3   '边结束节点

    Public Shared NODE_NO_FIELD = 1    '节点编号
    Public Shared NODE_LONGTITUDE_FIELD = 2    '节点经度
    Public Shared NODE_LAIITUDE_FIELD = 3 '节点纬度
    Public Shared NODE_ALTITUDE_FIELD = 4   '节点高程
    Public Shared NODE_NAME_FIELD = 0   '节点名称

    Public Shared RING_NO_FIELD = 1    '环编号
    Public Shared RING_STRING_FIELD = 2    '环节点编号

 

    '文件中的位置
    Public Shared FILE_LINE_NODE_NO_FIELD = -1    '边编号
    Public Shared FILE_LINE_BEGIN_NODE_FIELD = 0 '边开始节点
    Public Shared FILE_LINE_END_NODE_FIELD = 1   '边结束节点

    '文件中的位置
    Public Shared FILE_NODE_NO_FIELD = 0    '节点编号
    Public Shared FILE_NODE_NAME_FIELD = 0    '节点名称
    Public Shared FILE_NODE_LONGTITUDE_FIELD = 3   '节点经度
    Public Shared FILE_NODE_LAIITUDE_FIELD = 4 '节点纬度
    Public Shared FILE_NODE_ALTITUDE_FIELD = -1  '节点高程


    Public Shared LOG_LEVEL_DEBUG = 0
    Public Shared LOG_LEVEL_INFO = 1
    Public Shared LOG_LEVEL_CRITICAL = 2
    Public Shared LOG_LEVEL_ERROR = 4

    Public Shared MAX_SEARCH_NODE_CNT = 300 '最大的搜索节点个数
    Public Shared MAX_SEARCH_THREAD_CNT = 64 '最大线程池线程个数
    Public Shared SEARCH_THREAD_ABLE = False '是否使用线程收索


    Public Shared FIELD_SPERATE_STRING = "," '文件数据间的分割符合


    Public Shared IS_SEARCHED_LINE_ON_BEGIN As Boolean = False '已经搜过的边不参与继续开始搜索
    Public Shared IS_DEEP_SEARCH As Boolean = False  '对一个节点所有的数据都收索后，才返回

    Public Shared GRAPH_PRIVODE = GRAPH_CLASS.GRAPH_PRIVODE_ARCGIS

    ''' <summary>
    ''' 设置数据的坐标格式
    ''' </summary>
    ''' <remarks></remarks>
    Public Shared ZuoBiaoGeShi As ZB_DATA_FORMAT = ZB_DATA_FORMAT.DMS





    Public Enum GRAPH_CLASS As Integer
        GRAPH_PRIVODE_ARCGIS = 0   'ARCGIS 进行图形判断
        GRAPH_PRIVODE_WINAPI = 1 'Windows API 进行图形判断
        GRAPH_PRIVODE_GEOCODE = 2 '数学方式判断
        GRAPH_PRIVODE_NODE_INCLUDE = 3 '节点包含判断

    End Enum
    ''' <summary>
    ''' 线类型
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum LineTypeEnum As Integer
        ''' <summary>
        ''' 简单边
        ''' </summary>
        ''' <remarks></remarks>
        SIMPLE_LINE = 0  '简单边  
        ''' <summary>
        ''' 符合边
        ''' </summary>
        ''' <remarks></remarks>
        COMBIN_LINE = 1  '复合边
        ''' <summary>
        ''' 环边
        ''' </summary>
        ''' <remarks></remarks>
        RING_LINE = 2   '环边
    End Enum
    Public Enum LOG_LEVEL As Integer
        ''' <summary>
        ''' 调试等级
        ''' </summary>
        ''' <remarks></remarks>
        LOG_LEVEL_DEBUG = 0
        ''' <summary>
        ''' 信息等级
        ''' </summary>
        ''' <remarks></remarks>
        LOG_LEVEL_INFO = 1
        ''' <summary>
        ''' 疑问等级
        ''' </summary>
        ''' <remarks></remarks>
        LOG_LEVEL_CRITICAL = 2
        ''' <summary>
        ''' 错误等级
        ''' </summary>
        ''' <remarks></remarks>
        LOG_LEVEL_ERROR = 4
    End Enum
    ''' <summary>
    ''' 点等级
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum NODE_LEVEL As Integer
        ''' <summary>
        ''' 一等点
        ''' </summary>
        ''' <remarks></remarks>
        NODE_LEVEL_1 = 1
        ''' <summary>
        ''' 二等点
        ''' </summary>
        ''' <remarks></remarks>
        NODE_LEVEL_2 = 1
        ''' <summary>
        ''' 三等点
        ''' </summary>
        ''' <remarks></remarks>
        NODE_LEVEL_3 = 2
        ''' <summary>
        ''' 四等点
        ''' </summary>
        ''' <remarks></remarks>
        NODE_LEVEL_4 = 4
    End Enum

    ''' <summary>
    ''' 点数据坐标格式
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum ZB_DATA_FORMAT As Integer
        ''' <summary>
        ''' 度小数
        ''' </summary>
        ''' <remarks></remarks>
        DEG = 1
        ''' <summary>
        ''' 度分秒
        ''' </summary>
        ''' <remarks></remarks>
        DMS = 1
        ''' <summary>
        ''' 平面坐标
        ''' </summary>
        ''' <remarks></remarks>
        XY = 2
    End Enum


    Public Sub New(Optional ByVal CONS_FILE As String = Nothing)

    End Sub

End Class
